package com.woniuxy.entity.DTO;


import cn.hutool.core.date.DateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.time.LocalDate;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SortingDTO {

    private Integer id;//分拣ID

    private String orderId;//订单ID

    private String paymentTime;//下单时间(Orders表)

    private Integer quantity;//商品数量(OrderItems表)

    private Integer warehouseId;//仓库ID

    private Integer status;//分拣状态，0为待分拣，1为已分拣

    private String sorterName;//分拣员名字(Sorter表)

    private Integer cityId;//所在城市ID

    private String cityName;//城市名称

    private Integer districtId;//所在区域ID

    private String districtName;//区域名称

    private Integer sortingTime;//分拣时间

    private String warehouseName;//仓库名称

    private String startTime;//最早下单时间

    private String endTime;//最晚下单时间

    private Integer minSortingTime;//最小分拣时长

    private Integer maxSortingTime;//最大分拣时长

    private Integer minQuantity;//最小商品数量

    private Integer maxQuantity;//最大商品数量

    private Date sortingStartTime;//分拣开始时间

    private Date sortingEndTime;//分拣结束时间
}
